package com.dyp.global_exception_handler.model;

import java.util.Date;

public class Book {
    private String name;
    private Date publishedTime;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getPublishedTime() {
        return publishedTime;
    }

    public void setPublishedTime(Date publishedTime) {
        this.publishedTime = publishedTime;
    }

    @Override
    public String toString() {
        return "Book{" +
                "name='" + name + '\'' +
                ", publishedTime=" + publishedTime +
                '}';
    }
}
